using System;
using System.Threading.Tasks;
using Acme.BookStore.Shops.Dtos;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Acme.BookStore.Shops
{
    public interface IShopAppService : 
        ICrudAppService<
            ShopDto, 
            string, 
            PagedAndSortedResultRequestDto, 
            CreateShopDto>
    {
        Task<PagedResultDto<ShopDto>> SearchAsync(ShopSearchDto input);
        
        Task<PagedResultDto<ShopDto>> SearchByNameAsync(ShopNameSearchDto input);
    }
} 